.class Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.source "TabAdapter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/jecelyin/editor/v2/adapter/TabAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "a"
.end annotation


# instance fields
.field a:Landroid/widget/TextView;

.field b:Landroid/widget/TextView;

.field c:Landroid/widget/RelativeLayout;

.field d:Landroid/view/View;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/adapter/TabAdapter;Landroid/view/View;)V
    .locals 2

    .line 1
    invoke-direct {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V

    .line 2
    sget v0, Lcom/jecelyin/editor/v2/j;->title_text_view:I

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;->a:Landroid/widget/TextView;

    .line 3
    sget v0, Lcom/jecelyin/editor/v2/j;->file_text_view:I

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;->b:Landroid/widget/TextView;

    .line 4
    sget v0, Lcom/jecelyin/editor/v2/j;->close_image_view:I

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;->c:Landroid/widget/RelativeLayout;

    .line 5
    sget v0, Lcom/jecelyin/editor/v2/j;->indicator:I

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    iput-object p2, p0, Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;->d:Landroid/view/View;

    .line 6
    invoke-static {p1}, Lcom/jecelyin/editor/v2/adapter/TabAdapter;->a(Lcom/jecelyin/editor/v2/adapter/TabAdapter;)Landroid/content/Context;

    move-result-object p2

    sget v0, Lcom/jecelyin/editor/v2/i;->je_img_meun_state:I

    invoke-static {p1}, Lcom/jecelyin/editor/v2/adapter/TabAdapter;->b(Lcom/jecelyin/editor/v2/adapter/TabAdapter;)[I

    move-result-object p1

    const/4 v1, 0x1

    aget p1, p1, v1

    invoke-static {p2, v0, p1}, Lcom/jecelyin/common/utils/a;->a(Landroid/content/Context;II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    .line 7
    iget-object p2, p0, Lcom/jecelyin/editor/v2/adapter/TabAdapter$a;->d:Landroid/view/View;

    invoke-virtual {p2, p1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method
